package repository

import (
	"context"
	"example.com/m/v2/internal/domain/account_aggregate/entity"
)

type MainAccountRepository interface {
	Migrate() error
	Save(context context.Context, entity *entity.MainAccountEntity) (*entity.MainAccountEntity, error)
	FindById(context context.Context, id uint) (*entity.MainAccountEntity, error)
	//Exists(context context.Context, id uint) bool
}
